<!DOCTYPE html>
<html>
<head>

  <title><%= yield :header_title %></title>
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>

  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= favicon_link_tag  if Rails.env.development? %>
  <%= csrf_meta_tags %>
</head>
<body>
<%=render partial: 'shared/head'%>

<% if flash.present? %>
    <div class="container-fluid" style="background-color: #FFFFFF">

      <div class="row">
        <% flash.each do |key,value| %>
            <div class="col-lg-12">
              <div class="global-flash">
                <!--全局异常显示-->
                <div class="alert-<%= key %>"><%= value %></div>
              </div>
            </div>
        <% end %>
      </div>
    </div>
<% end %>

<%= yield %>

<%= content_for?(:no_foot) ? nil : render(partial: 'shared/tail') %>
<%#= debug(params) if Rails.env.development? %>
</body>
</html>
